package com.myecl.poker.communication;

import java.io.Serializable;
import java.util.List;

import com.myecl.poker.rules.Card;




public class ViewData implements Serializable {
	
	private static final long serialVersionUID = 8030182016564735504L;
	private final List<Card> comCards;
	private final List<Card> ownCards;
	private final boolean foldButton;
	private final boolean checkButton;
	private final boolean callButton;
	private final boolean raiseButton;
	
	public ViewData(List<Card> comCards, List<Card> ownCards, boolean foldButton, 
			boolean checkButton, boolean callButton, boolean raiseButton) {
		this.comCards = comCards;
		this.ownCards = ownCards;
		this.foldButton = foldButton;
		this.checkButton = checkButton;
		this.callButton = callButton;
		this.raiseButton = raiseButton;
	}

	public List<Card> getOwnCards() {
		return ownCards;
	}

	public List<Card> getComCards() {
		return comCards;
	}

	public boolean isFoldButton() {
		return foldButton;
	}

	public boolean isCheckButton() {
		return checkButton;
	}

	public boolean isCallButton() {
		return callButton;
	}

	public boolean isRaiseButton() {
		return raiseButton;
	}
}
